﻿using System;

namespace UnityEngine.PostProcessing
{
	// Token: 0x02000117 RID: 279
	[Serializable]
	public abstract class PostProcessingModel
	{
		// Token: 0x170000B6 RID: 182
		// (get) Token: 0x06000679 RID: 1657 RVA: 0x00026730 File Offset: 0x00024930
		// (set) Token: 0x0600067A RID: 1658 RVA: 0x00026738 File Offset: 0x00024938
		public bool enabled
		{
			get
			{
				return this.m_Enabled;
			}
			set
			{
				this.m_Enabled = value;
				if (value)
				{
					this.OnValidate();
				}
			}
		}

		// Token: 0x0600067B RID: 1659
		public abstract void Reset();

		// Token: 0x0600067C RID: 1660 RVA: 0x00026750 File Offset: 0x00024950
		public virtual void OnValidate()
		{
		}

		// Token: 0x0400063D RID: 1597
		[SerializeField]
		[GetSet("enabled")]
		private bool m_Enabled;
	}
}
